Emacs should no longer hang at startup on kFreeBSD.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Aug 2013 06:11:50 +0000 (23:11 -0700)
committerRob Browning <rlb@defaultvalue.org>
Thu, 26 Sep 2013 18:42:12 +0000 (13:42 -0500)
commit5f08d4eba0c5bb51294ee89d4285f3cc6dde925f
treecb9a4b64db6b82d2a6d402f0d6c489eb5ff1a95d
parente6b8536b5a4ffe74bde2d3281f39295a70457287
Emacs should no longer hang at startup on kFreeBSD.

Applied upstream patch (in conjunction with 5113963):

  Port close-on-exec pty creation to FreeBSD 9.1-RELEASE.

  * configure.ac (PTY_OPEN): If posix_openpt with O_CLOEXEC fails
  and reports EINVAL, try it again without O_CLOEXEC.  This should
  port PTY_OPEN to FreeBSD 9, which stupidly rejects O_CLOEXEC.
  What were they thinking?

Origin: upstream, commit: 51139645c41cec3858f1828303b67be634b8c39937c8580
Added-by: Rob Browning <rlb@defaultvalue.org>
Provided-By: Paul Eggert <eggert@cs.ucla.edu>
Bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15129
ChangeLog
configure.ac